#pragma once
#include "Vector3.h"
#include "GameObject.h"

class FrameAnimate : public GameObject
{
private:
	long _frameNum;
	long _frameMaxNum;
	long _frameDelay;
	long _frameTime;
	bool _isLoop;
	Vector3l _frameSize;
public:
	FrameAnimate(void);
	~FrameAnimate(void);
	void init(std::string name, long fMax, long delay, bool loop);
	void draw();
	bool isEndAnimate();
};

